package com.im.util;

import com.core.sdk.utils.IOUtil;

public class PathUtil {
	private static String baseDir = null; 
	private static String cacheDir = null;
	static{
		try {
			baseDir = IOUtil.getExternalStoragePath()+"im/";
			IOUtil.mkDir(baseDir);
			cacheDir = baseDir +"cache/";
			IOUtil.mkDir(cacheDir);
		} catch (Exception e) {
			e.printStackTrace();
		}
	}
	public static final String getCacheDir(){
		return cacheDir;
	}
}
